<%--
  Created by IntelliJ IDEA.
  User: my
  Date: 2017/10/31
  Time: 8:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/"/>
</head>
<body>
<form id="pagerForm" method="post" action="/five/manager/listDesign">
    <input type="hidden" name="status" value="${param.status}">
    <input type="hidden" name="keywords" value="${param.keywords}" />
    <input type="hidden" name="pageNum" value="${pageNum}" />
    <input type="hidden" name="numPerPage" value="${model.numPerPage}" />
    <input type="hidden" name="orderField" value="${param.orderField}" />
</form>

<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="five/manager/listDesign?pageNum=${pageNum}" method="post">
        <div class="searchBar">
            <!--<ul class="searchContent">
                <li>
                    <label>我的客户：</label>
                    <input type="text"/>
                </li>
                <li>
                <select class="combox" name="province">
                    <option value="">所有省市</option>
                    <option value="北京">北京</option>
                    <option value="上海">上海</option>
                    <option value="天津">天津</option>
                    <option value="重庆">重庆</option>
                    <option value="广东">广东</option>
                </select>
                </li>
            </ul>
            -->
            <table class="searchContent">
                <tr>
                    <td>
                        我的客户：<input type="text" name="keyword" />
                    </td>
                    <td>
                        <select class="combox" name="province">
                            <option value="">所有省市</option>
                            <option value="北京">北京</option>
                            <option value="武汉">武汉</option>
                            <option value="广州">广州</option>
                            <option value="深圳">重庆</option>
                            <option value="成都">成都</option>
                        </select>
                    </td>
                    <td>
                        建档日期：<input type="text" class="date" readonly="true" />
                    </td>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
                    <li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="edit" href="five/manager/postDestail?postId={sid_user}" target="navTab"><span>详情</span></a></li>
            <li><a class="delete" href="" targetType="navTab" title="确定要删除吗?"><span>删除</span></a></li>
            <li class="line">line</li>
            <li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="138">
        <thead>
        <tr>
            <th width="80">编号</th>
            <th width="80">贴子的名字</th>
            <th width="80">贴子的发布者</th>
            <th width="100">贴子类型</th>
            <th width="80">贴子创建时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${postList}" var="postlist">
            <tr target="sid_user" rel="${postlist.postId}">
                <td>${postlist.postId}</td>
                <td>${postlist.postTitle}</td>
                <td>${postlist.postName}</td>
                <td>${postlist.postLabelling}</td>
                <td>${postlist.stringDate}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20">20</option>
                <option value="50">50</option>
                <option value="100">100</option>
                <option value="200">200</option>
            </select>
            <span>条，共${num}条</span>
        </div>

        <div class="pagination" targetType="navTab" totalCount="${num}" numPerPage="20" pageNumShown="10" currentPage="${pageNum}"></div>

    </div>
</div>
</body>
</html>
